Skip to content

Comments

adding main logic#22

Open
librone4u wants to merge 2 commits intovasylmalik:masterfrom
librone4u:user_volodymyr
Open

adding main logic#22
librone4u wants to merge 2 commits intovasylmalik:masterfrom
librone4u:user_volodymyr

Conversation

@librone4u
Copy link

No description provided.

session.setAttribute("queue", Sign.CROSS);
}
}
// if(emptyFieldIndex >=0) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't push commented code

// return;
// }
// }
if(field.getEmptyFieldIndex() == -1){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what -1 means?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method getEmptyFieldIndex return -1 if there is no empty field, what mean a draw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants